package com.rivercloud.entity;

import java.sql.Timestamp;
import java.util.Date;

public class ExcelTable {
	private int id;
	private String tableName;
	private String tableDesc;
	private int tableStatus;
	private int userId;
	private String creator;
	private Timestamp createTime = new Timestamp(System.currentTimeMillis());
	private int updator;
	private Timestamp updateTime = new Timestamp(System.currentTimeMillis());
	private int templateId;
	private int projectId;
	
	public ExcelTable() {
		super();
		// TODO Auto-generated constructor stub
	}

	public ExcelTable(int id, String tableName, String tableDesc, int tableStatus, int userId, String creator,
			Timestamp createTime, int updator, Timestamp updateTime, int templateId, int projectId) {
		super();
		this.id = id;
		this.tableName = tableName;
		this.tableDesc = tableDesc;
		this.tableStatus = tableStatus;
		this.userId = userId;
		this.creator = creator;
		this.createTime = createTime;
		this.updator = updator;
		this.updateTime = updateTime;
		this.templateId = templateId;
		this.projectId = projectId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getTableDesc() {
		return tableDesc;
	}

	public void setTableDesc(String tableDesc) {
		this.tableDesc = tableDesc;
	}

	public int getTableStatus() {
		return tableStatus;
	}

	public void setTableStatus(int tableStatus) {
		this.tableStatus = tableStatus;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public int getUpdator() {
		return updator;
	}

	public void setUpdator(int updator) {
		this.updator = updator;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public int getTemplateId() {
		return templateId;
	}

	public void setTemplateId(int templateId) {
		this.templateId = templateId;
	}

	public int getProjectId() {
		return projectId;
	}

	public void setProjectId(int projectId) {
		this.projectId = projectId;
	}

	@Override
	public String toString() {
		return "ExcelTable [id=" + id + ", tableName=" + tableName + ", tableDesc=" + tableDesc + ", tableStatus="
				+ tableStatus + ", userId=" + userId + ", creator=" + creator + ", createTime=" + createTime
				+ ", updator=" + updator + ", updateTime=" + updateTime + ", templateId=" + templateId + ", projectId="
				+ projectId + "]";
	}



}
